package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品明细对象 erp_commodities_details
 * 
 * @author ruoyi
 * @date 2025-03-10
 */
public class ErpCommoditiesDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品明细id */
    private Long id;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderNumber;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String commName;

    /** 货号 */
    @Excel(name = "货号")
    private String commSku;

    /** 规格 */
    @Excel(name = "规格")
    private String commSpec;

    /** 数量 */
    @Excel(name = "数量")
    private Long needNumber;

    /** 快递单号 */
    @Excel(name = "快递单号")
    private String stockTrackingnumber;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderNumber(String orderNumber) 
    {
        this.orderNumber = orderNumber;
    }

    public String getOrderNumber() 
    {
        return orderNumber;
    }
    public void setCommName(String commName) 
    {
        this.commName = commName;
    }

    public String getCommName() 
    {
        return commName;
    }
    public void setCommSku(String commSku) 
    {
        this.commSku = commSku;
    }

    public String getCommSku() 
    {
        return commSku;
    }
    public void setCommSpec(String commSpec) 
    {
        this.commSpec = commSpec;
    }

    public String getCommSpec() 
    {
        return commSpec;
    }
    public void setNeedNumber(Long needNumber) 
    {
        this.needNumber = needNumber;
    }

    public Long getNeedNumber() 
    {
        return needNumber;
    }
    public void setStockTrackingnumber(String stockTrackingnumber) 
    {
        this.stockTrackingnumber = stockTrackingnumber;
    }

    public String getStockTrackingnumber() 
    {
        return stockTrackingnumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderNumber", getOrderNumber())
            .append("commName", getCommName())
            .append("commSku", getCommSku())
            .append("commSpec", getCommSpec())
            .append("needNumber", getNeedNumber())
            .append("stockTrackingnumber", getStockTrackingnumber())
            .toString();
    }
}
